package org.trader.proj.Pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TblShops entity. @author MyEclipse Persistence Tools
 */

public class TblShops implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = -972006072881192427L;
	private Integer shopId;
	private TblShopCate tblShopCate;
	private TblTrader tblTrader;
	private String name;
	private String contact;
	private String phone1;
	private String phone2;
	private String address;
	private String discount;
	private String comments;
	private String keyword;
	private Set tblShopInfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public TblShops() {
	}

	/** minimal constructor */
	public TblShops(String name, String contact, String phone1, String address,
			String discount, String comments) {
		this.name = name;
		this.contact = contact;
		this.phone1 = phone1;
		this.address = address;
		this.discount = discount;
		this.comments = comments;
	}

	/** full constructor */
	public TblShops(TblShopCate tblShopCate, TblTrader tblTrader, String name,
			String contact, String phone1, String phone2, String address,
			String discount, String comments, String keyword, Set tblShopInfos) {
		this.tblShopCate = tblShopCate;
		this.tblTrader = tblTrader;
		this.name = name;
		this.contact = contact;
		this.phone1 = phone1;
		this.phone2 = phone2;
		this.address = address;
		this.discount = discount;
		this.comments = comments;
		this.keyword = keyword;
		this.tblShopInfos = tblShopInfos;
	}

	// Property accessors

	public Integer getShopId() {
		return this.shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public TblShopCate getTblShopCate() {
		return this.tblShopCate;
	}

	public void setTblShopCate(TblShopCate tblShopCate) {
		this.tblShopCate = tblShopCate;
	}

	public TblTrader getTblTrader() {
		return this.tblTrader;
	}

	public void setTblTrader(TblTrader tblTrader) {
		this.tblTrader = tblTrader;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getPhone1() {
		return this.phone1;
	}

	public void setPhone1(String phone1) {
		this.phone1 = phone1;
	}

	public String getPhone2() {
		return this.phone2;
	}

	public void setPhone2(String phone2) {
		this.phone2 = phone2;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getDiscount() {
		return this.discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getKeyword() {
		return this.keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Set getTblShopInfos() {
		return this.tblShopInfos;
	}

	public void setTblShopInfos(Set tblShopInfos) {
		this.tblShopInfos = tblShopInfos;
	}

}